<?php
declare (strict_types = 1);

namespace app\admin\model;
use think\model\concern\SoftDelete;
class UserModel extends Base
{
	use SoftDelete;
   	protected $name="admin";
   	protected $delete_time="delete_time";
   	public function role()
    {
        return $this->hasOne(RoleModel::class,'id','role_id');
    }
}
